/*
                  Point Class Definition
*/

#ifndef POINT_H
#define POINT_H

#include <math.h>

class Point
{
    public:
        Point() : x(0), y(0) {};
        Point(double nx, double ny) { x = nx; y = ny; }
        Point(int nx, int ny) { x = (double)nx; y = (double)ny; }
        ~Point() {}

        bool operator==(const Point& ComparedInfo)
        {
            if (ComparedInfo.x == this->x)
            {
                if (ComparedInfo.y == this->y)
                {
                    return true;
                }
            }

            return false;
        }

        bool operator!=(const Point& ComparedInfo)
        {
            if (*this == ComparedInfo) { return false; }
            else
            {
                return true;
            }
        }

        double x;
        double y;

        double DistanceFromPoint(Point Target);
};

#endif
